﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

/**
 * 创建时间：2014/11/4 10:19:57
 * 作者：yong.blackcore
 * Email：itblackhole@outlook.com
 * QQ：50404503
 */
namespace CUWo.Common.Entities.WoInterface.HttpArgument
{
    /// <summary>
    /// 获取新闻
    /// </summary>
    [DataContract]
    public class ArgsNewsContent : ArgsBase
    {
        [DataMember(Name = "channelID")]
        public string ChannelId { get; set; }

        [DataMember(Name = "newsID")]
        public string NewsId { get; set; }

        [DataMember(Name = "mode")]
        public string Mode { get; set; }

        [DataMember(Name = "count")]
        public string Count { get; set; }

        public ArgsNewsContent()
            : base()
        {

        }
    }

    /// <summary>
    /// 获取新闻模式
    /// </summary>
    public enum ArgsNewsContentMode
    {
        /// <summary>
        /// 之后
        /// <para>1</para>
        /// </summary>
        Behind =1,
        /// <summary>
        /// 之前
        /// <para>2</para>
        /// </summary>
        Front = 2
    }
}
